home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1225 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  773 b 

  1. Path: news.compuserve.com!newsmaster
  2. From: 73700.776@compuserve.com (Walter C. Riley)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Please Explain this manipulator behavior
  5. Date: Tue, 09 Jan 1996 23:53:47 GMT
  6. Organization: CompuServe Incorporated
  7. Message-ID: <4cuvas$g3l@dub-news-svc-6.compuserve.com>
  8. References: <30EEBF72.4DDD565A@federal.unisys.com>
  9. NNTP-Posting-Host: dd62-172.compuserve.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Bill Kaelin <kaelin@federal.unisys.com> wrote:
  13.  
  14. >>much cut
  15. >Is this the appropriate behavior for C++??  If this is true, how can one
  16. >inherit from ostream and still output hexadecimal values?
  17.  
  18.  
  19. Interesting -- can't help with the behavior - but you can 
  20.  
  21. cout << setiosflags(ios::hex)
  22. instead of 
  23. cout << hex
  24.  
  25. as a workaround.
  26.  
  27. Good luck,
  28. Walt
  29.  
  30.  
  31.